﻿
namespace MyWebApp.Web.Domain_Services
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.Web.Ria;
    using System.Web.Ria.Data;
    using System.Web.DomainServices;
    using MyWebApp.Web.Data_Models;


    // TODO: Create methods containing your application logic.
    [EnableClientAccess()]
    public class CityService : DomainService
    {
        private CityData _cityData = new CityData();

        public IEnumerable<City> GetCities()
        {
            return _cityData.Cities;
        }
    }
}


